package com.ac.app.web.form;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.caac.core.config.Config;
import com.caac.core.util.DateUtils;
import com.caac.core.web.form.BaseSearchForm;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright AgileCentury 2008</p>
 * <p>Company: AgileCentury </p>
 * @author <a href="mailto:ac@agilecentury.com">Agile</a>
 * @version 1.0
 */

public class PkErrorSearchForm extends BaseSearchForm {
		
    private static final long serialVersionUID = 1L;
    private String id;
    private String pickEntry;
    private String etrName;
    private String url;
    private String shot;
    private String errInfo;
    private Date createTime;
    private Date createTime1;
    private Date createTime2;
    private String createTimeString;
    private String createTime1String;
    private String createTime2String;
    private String errDesc;
    
	public String getErrDesc() {
		return errDesc;
	}
	public void setErrDesc(String errDesc) {
		this.errDesc = errDesc;
	}
	public String getErrInfo() {
		return errInfo;
	}
	public void setErrInfo(String errInfo) {
		this.errInfo = errInfo;
	}
	public String getEtrName() {
		return etrName;
	}
	public void setEtrName(String etrName) {
		this.etrName = etrName;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPickEntry() {
		return pickEntry;
	}
	public void setPickEntry(String pickEntry) {
		this.pickEntry = pickEntry;
	}
	public String getShot() {
		return shot;
	}
	public void setShot(String shot) {
		this.shot = shot;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Date getCreateTime1() {
		return createTime1;
	}
	public void setCreateTime1(Date createTime1) {
		this.createTime1 = createTime1;
	}
	public Date getCreateTime2() {
		return createTime2;
	}
	public void setCreateTime2(Date createTime2) {
		this.createTime2 = createTime2;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getCreateTime1String() {
		return createTime1String;
	}
    public void setCreateTime1String(String createTime1String) {
        this.createTime1String = createTime1String;
        try {
            this.createTime1 = DateUtils.convertToDate("yyyy-MM-dd HH:mm:ss",
                    createTime1String + " 00:00:00");
        } catch (Exception e) {
            this.createTime1 = null;
        }
    }
	public String getCreateTime2String() {
		return createTime2String;
	}
    public void setCreateTime2String(String createTime2String) {
        this.createTime2String = createTime2String;
        try {
            this.createTime2 = DateUtils.convertToDate("yyyy-MM-dd HH:mm:ss",
                    createTime2String + " 23:59:59");
        } catch (Exception e) {
            this.createTime2 = null;
        }
    }
	public String getCreateTimeString() {
		return createTimeString;
	}
    public void setCreateTimeString(String createTimeString) {
        this.createTimeString = createTimeString;
        try {
            this.createTime = DateUtils.convertToDate("yyyy-MM-dd HH:mm",
                    createTimeString);
        } catch (Exception e) {
            this.createTime = null;
        }
    }
    
}
